﻿using Domain;
using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.AppService.UserRolesAppService
{
	public interface IUserRolesAppService
	{
		Task<List<UserRoleInfo>> GetUsersWithRolesAsync();

		UserRolesFenYe UserRolesFenYe(int page, int pageSize);

		Task<bool> UserRolesAdd(UserRoles userRoles);

		Task<UserRoles> SelectUserRolesById(int id);
		Task<bool> UserRolesUpdate(UserRoles userRoles);
		Task<bool> UserRolesDelete(int id);
	}
}
